group_df <- tibble(
id = 1:1000,
height = rnorm(1000, 170, 6),
weight = rnorm(1000, 80, 10),
eye_colour = sample(c("Blue", "Green", "Brown", "Grey"),
1000,
replace = T)
)
group_df# A tibble: 1,000 × 4
id height weight eye_colour
<int> <dbl> <dbl> <chr>
1 1 172. 91.7 Green
2 2 161. 49.2 Brown
3 3 174. 64.1 Grey
4 4 164. 74.6 Grey
5 5 177. 74.0 Blue
6 6 164. 74.8 Blue
7 7 166. 84.6 Grey
8 8 171. 69.7 Grey
9 9 163. 84.8 Green
10 10 172. 74.0 Blue
# ℹ 990 more rows